-- CALC_CAREER_203_UPGRADE_BONUS

-- 计算称号勘探家升级奖励
-- @param level    特性等级
-- @param feature  特性id
return function(level, feature)
    local itemBonus = {};

    -- 奖励探险家罗盘，天空副本中获得无效的对应物品
    local dungeonId = DungeonM.getDungeonId();
    if type(dungeonId) == "number" and dungeonId > 0 and
       DungeonAreaM.query(dungeonId, "type") == "sky_instance" or 
       type(dungeonId) == "number" and dungeonId > 0 and
       DungeonAreaM.query(dungeonId, "type") == "activity" then
        itemBonus = { 1, 7958, 1 };
    else
        itemBonus = { 1, 7074, 1 };
    end

    if level == 1 then
        return { itemBonus };
    else
        return {};
    end
end

